package com.quectel.core.module.thirdconfig.dto.item;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 短信模板
 *
 * @author: caolu
 * @email: louis.cao@quectel.com
 * @date: 2022-05-09 12:02:00
 */
@Schema
@Data
public class Sms implements Serializable {
    /**
     * 短信平台类型
     *
     * @see com.quectel.constant.core.thirdplatformconfig.ThirdPlatformConfigConstants.SmsPlatformType
     */
    @Schema(description = "短信平台类型 ThirdPlatformConfigConstants")
    private Byte type;
    /**
     * 短信签名
     */
    @Schema(description = "短信签名")
    private String signName;
    /**
     * accessKeyId
     */
    @Schema(description = "accessKeyId")
    private String accessKeyId;
    /**
     * accessKeySecret
     */
    @Schema(description = "accessKeySecret")
    private String accessKeySecret;
    /**
     * 短信验证码模板 模板需包含${code}
     */
    @Schema(description = "短信验证码模板")
    private String verCodeTemplate;
    /**
     * 通用短信模板 模板需包含${title} ${content}
     */
    @Schema(description = "通用短信模板")
    private String commonTemplate;

    @Schema(description = "是否可以模拟发送验证码（前端弹框显示）")
    private Boolean mockEnable;
}
